package org.easy.rocketmq;

import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;


/**
 * 接收示例代码
 * tl-topic-{projectName}-{businessName}-{env}
 * tl-group-{projectName}-{businessName}-{env}
 */
@RocketMQMessageListener(topic = "tl-topic-{projectName}-{businessName}",
        consumerGroup = "${rocketmq.producer.group:default}")
public class CommonRocketMqReceiver implements RocketMQListener<String> {
    @Override
    public void onMessage(String s) {

    }
}
